﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BDS3M.Controls
{
    public partial class MapGoogle : System.Web.UI.UserControl
    {
        public string GoogleMapContent;

        protected void Page_Load(object sender, EventArgs e)
        {
            if(!Page.IsPostBack){

                DataTable dt = DAL.DCollector.DBCollector.Instance.StoredSelectAllTableOrderByCol("tbl_GoogleMap", "GoogleMap_Date", "desc");

                GoogleMapContent = dt.Rows[0]["GoogleMap_Content"].ToString();

            }
        }
    }
}